package com.zjmzxfzhl.modules.flowable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.modules.flowable.entity.FlowableForm;
import com.zjmzxfzhl.modules.flowable.entity.FlowableFormOnline;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface FlowableFormOnlineMapper extends BaseMapper<FlowableFormOnline> {
    /**
     * 查询表单
     * @param page
     * @param flowableFormOnline
     * @return
     */
    public List<FlowableFormOnline> list(IPage<FlowableFormOnline> page, @Param("entity") FlowableFormOnline flowableFormOnline);

    /**
     * 查询表的备注信息
     * @param tableName
     * @return
     */
    public List<Map<String,Object>> getTableSchemalInfoByTableName(@Param("tableName") String tableName);

}
